package com.tan.steamship.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tan.steamship.common.Result;
import com.tan.steamship.domain.MessagePo;
import com.tan.steamship.dto.MessageDto;
import com.tan.steamship.vo.MessageVo;

import java.util.List;

/**
* @author 85726
* @description 针对表【message(消息表)】的数据库操作Service
* @createDate 2025-03-31 18:00:38
*/
public interface MessageService extends IService<MessagePo> {

    Page<MessageVo> listAll(Integer pageIndex, Integer pageSize);

    Result saveOrUpdate(MessageDto messageDto);

    MessageVo detail(String id);

    void send(List<MessageDto>  messageDto);

}
